<?php

class SimpleImage extends Content
{

	private $extension_ = "";
    private $path_ = "";
    private $width_ = -1;
    private $height_ = -1;
	private $legend_ = "";
	
	public function __construct()
	{}

	public function getExtension()
	{
		return $this->extension_;
	}
	
	public function setExtension( $extension )
	{
		$this->extension_ = $extension;
	}
	
	public function getPath()
	{
		return $this->path_;
	}
	
	public function setPath( $path )
	{
		$this->path_ = $path;
	}
	
	public function getWidth()
	{
		return $this->width_;
	}
	
	public function setWidth( $width )
	{
		$this->width_ = $width;
	}
	
	public function getHeight()
	{
		return $this->height_;
	}
	
	public function setHeight( $height )
	{
		$this->height_ = $height;
	}

	public function getLegend()
	{
		return $this->legend_;
	}
	
	public function setLegend( $legend )
	{
		$this->legend_ = $legend;
	}
	
	public function setProperties( $extension, $path, $width, $height )
	{
		$this->extension_ = $extension;
		$this->path_ = $path;
		$this->width_ = $width;
		$this->height_ = $height;
	}

	public function setAllProperties( $extension, $path, $width, $height, $legend )
	{
		$this->extension_ = $extension;
		$this->path_ = $path;
		$this->width_ = $width;
		$this->height_ = $height;
		$this->legend_ = $legend;
	}
}
?>